package com.bzchao.sptest.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 陈光超   2020/11/20 18:20
 */
@RestController
@RequestMapping("/test")
public class TestRestController {

    public Object testRest(String name) {
        return "你的姓名" + name;
    }

    public Object testRest() {
        return "你没有姓名";
    }
}
